//
//  CommentKey.h
//  Molian
//
//  Created by 胡津 on 15/3/27.
//  Copyright (c) 2015年 xiaocan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol CommentKeyDelegate <NSObject>

@optional
-(void)talkBtnClick:(UITextView *)textViewGet;
@end

@interface CommentKey : NSObject<UITextViewDelegate>

@property (nonatomic,assign) id<CommentKeyDelegate>mDelegate;
@property (nonatomic,strong)UIToolbar *mBackView;
@property (nonatomic,strong)UIView *mTopHideView;
@property (nonatomic,strong)UITextView * mTextView;
@property (nonatomic,strong)UIView *mHiddeView;
@property (nonatomic,strong)UIViewController *mViewController;
@property (nonatomic,strong)UIView *mSecondaryBackView;
@property (nonatomic,strong)BFPaperButton *mTalkBtn;
@property (nonatomic,strong)UILabel *placeholder;
@property (nonatomic) BOOL isTop;//用来判断评论按钮的位置
@property CGFloat keyhHigh;



//+(CommentKey *)customKeyboard;

-(void)textViewShowView:(UIViewController *)viewController customKeyboardDelegate:(id)delegate;
- (void)textRecover; //回复位置

@end
